package com.liwenfeng.diancanspringboot;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement // 开启事务管理
@Slf4j
//@EnableScheduling
public class DiancanSpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(DiancanSpringbootApplication.class, args);
        log.info("启动成功");
    }

}
